package com.ssm;

import com.ssm.filter.JwtCheckGatewayFilterFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class SsmGatewayApplication {
    @Bean
    public JwtCheckGatewayFilterFactory jwtCheckGatewayFilterFactory(){
        return new JwtCheckGatewayFilterFactory();
    }
    public static void main(String[] args) {
        SpringApplication.run(SsmGatewayApplication.class, args);
    }

}
